package com.dx.common.table.ppt;

/**
 * Bis_uas_fnc_grpId entity. @author MyEclipse Persistence Tools
 */

public class Bis_uas_fnc_grpId implements java.io.Serializable {

	// Fields    

	private String group_id_fk;
	private String func_code_fk;

	// Constructors

	/** default constructor */
	public Bis_uas_fnc_grpId() {
	}

	/** full constructor */
	public Bis_uas_fnc_grpId(String group_id_fk, String func_code_fk) {
		this.group_id_fk = group_id_fk;
		this.func_code_fk = func_code_fk;
	}

	// Property accessors

	public String getGroup_id_fk() {
		return this.group_id_fk;
	}

	public void setGroup_id_fk(String group_id_fk) {
		this.group_id_fk = group_id_fk;
	}

	public String getFunc_code_fk() {
		return this.func_code_fk;
	}

	public void setFunc_code_fk(String func_code_fk) {
		this.func_code_fk = func_code_fk;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof Bis_uas_fnc_grpId))
			return false;
		Bis_uas_fnc_grpId castOther = (Bis_uas_fnc_grpId) other;

		return ((this.getGroup_id_fk() == castOther.getGroup_id_fk()) || (this.getGroup_id_fk() != null
				&& castOther.getGroup_id_fk() != null && this.getGroup_id_fk().equals(castOther.getGroup_id_fk())))
				&& ((this.getFunc_code_fk() == castOther.getFunc_code_fk()) || (this.getFunc_code_fk() != null
						&& castOther.getFunc_code_fk() != null && this.getFunc_code_fk().equals(castOther.getFunc_code_fk())));
	}

	public int hashCode() {
		int result = 17;

		result = 37 * result + (getGroup_id_fk() == null ? 0 : this.getGroup_id_fk().hashCode());
		result = 37 * result + (getFunc_code_fk() == null ? 0 : this.getFunc_code_fk().hashCode());
		return result;
	}

}